package com.szeldon.declatest.exec.events;

import java.util.Date;

public class CheckpointExecEvent extends TestSuiteExecEvent {

    private String checkpointId;
    private String checkpointDescription;

    /**
     * 
     * @param scenarioId
     * @param eventDescription
     * @param eventDate
     * @param checkpointId
     * @param checkpointDescription
     */
    public CheckpointExecEvent(String scenarioId, String eventDescription, Date eventDate, String checkpointId,
            String checkpointDescription) {
        super(scenarioId, eventDescription, eventDate);
        this.checkpointId = checkpointId;
        this.checkpointDescription = checkpointDescription;
    }

    public String getCheckpointId() {
        return checkpointId;
    }

    public String getCheckpointDescription() {
        return checkpointDescription;
    }

    @Override
    public String toString() {
        return "CheckpointExecEvent [" + super.toString() + "checkpointId=" + checkpointId + "; checkpointDescription="
                + checkpointDescription + "]";
    }

}
